<!DOCTYPE html>

<html>

	<head>
		<meta charset="utf-8">
		<title>后台管理模板</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">

		<link rel="stylesheet" href="__STATIC__/plugins/layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="__CSS__/global.css" media="all">
		<link rel="stylesheet" href="__STATIC__/plugins/font-awesome/css/font-awesome.min.css">

	</head>

	<body>
		<div class="layui-layout layui-layout-admin">
			<div class="layui-header header header-demo">
				<div class="layui-main">
					<div class="admin-login-box">
						<a class="logo" style="left: 0;" href="http://beginner.zhengjinfan.cn/demo/beginner_admin/">
							<span style="font-size: 22px;">BeginnerAdmin</span>
						</a>
			
					</div>
					<ul class="layui-nav admin-header-item">
						<li class="layui-nav-item">
							<a href="javascript:;">清除缓存</a>
						</li>
						<li class="layui-nav-item">
							<a href="javascript:;" class="admin-header-user">
								<img src="{$user.avatar}" />
								<span>{$user.name}</span>
							</a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;"><i class="fa fa-user-circle" aria-hidden="true"></i> 修改密码</a>
								</dd>
								<dd>
									<a href="login.html"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
								</dd>
							</dl>
						</li>
					</ul>
					<ul class="layui-nav admin-header-item-mobile">
						<li class="layui-nav-item">
							<a href="login.html"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
						</li>
					</ul>
				</div>
			</div>
			<div class="layui-side layui-bg-black" id="admin-side">
				<ul class="layui-nav layui-nav-tree">
			
				<li class="layui-nav-item">
					<a href="javascript:void(0)" url="__ADMIN__/bank/index" class="link">信用卡管理</a>
				</li>
				<li class="layui-nav-item">
					<a href="javascript:void(0)" url="__ADMIN__/daikuan/index" class="link">贷款管理</a>
				</li>
				
				<li class="layui-nav-item">
					<a href="javascript:void(0)" url="__ADMIN__/member/index" class="link">会员管理</a>
				</li>
				<li class="layui-nav-item">
					<a href="javascript:void(0)" url="__ADMIN__/shenqing/index" class="link">信用卡申请管理</a>
				</li>
				<li class="layui-nav-item">
					<a href="javascript:void(0)" url="__ADMIN__/dksq/index" class="link">贷款申请管理</a>
				</li>
				<li class="layui-nav-item">
					<a href="javascript:void(0)" url="__ADMIN__/article/index" class="link">文章管理</a>
				</li>
				<li class="layui-nav-item">
					<a href="javascript:void(0)" url="__ADMIN__/poster/index" class="link">海报管理</a>
				</li>
				{if  condition="($user.power == 0)"}
				<li class="layui-nav-item">
					<a href="javascript:void(0)" url="__ADMIN__/partner/index" class="link">股东管理</a>
				</li>
				{/if}

				<li class="layui-nav-item">
					<a href="javascript:void(0)" url="__ADMIN__/team/index" class="link">团队管理</a>
				</li>	
				<li class="layui-nav-item">
					<a href="javascript:void(0)" url="__ADMIN__/commission/index" class="link">佣金设置</a>
				</li>
			
			<span class="layui-nav-bar" style="top: 147.5px; height: 0px; opacity: 0;"></span></ul>
			</div>
			<div class="layui-body" style="bottom: 0;border-left: solid 2px #1AA094;" id="admin-body">
				<div class="layui-tab admin-nav-card layui-tab-brief" lay-filter="admin-tab">
					<ul class="layui-tab-title">
						<li class="layui-this">
							<i class="fa fa-dashboard" aria-hidden="true"></i>
							<cite>控制面板</cite>
						</li>
					</ul>
						<div class="layui-tab-item layui-show" style="height: 800px">
								<iframe id="iframe" src=""></iframe>
						</div>
				</div>
			</div>
			
	
			
			<!--锁屏模板 start-->
	
			<!--锁屏模板 end -->
			
			<script type="text/javascript" src="__STATIC__/plugins/layui/layui.js"></script>
			<script type="text/javascript" src="__STATIC__/datas/nav.js"></script>
			
			<script src="__JS__/index.js"></script>
	
			<script>
				layui.use('layer', function() {
					var $ = layui.jquery,
						layer = layui.layer;

					$('#video1').on('click', function() {
						layer.open({
							title: 'YouTube',
							maxmin: true,
							type: 2,
							content: '#',
							area: ['800px', '500px']
						});
					});

				});
			</script>
		</div>
	</body>

</html>
<script src="__JS__/jquery.js"></script>

<script type="text/javascript">
	$(".link").click(function(){

	 var url =$(this).attr("url");
	 	$("#iframe").attr("src",url);

	})
</script>